package com.yyn.Learning.service;

import com.yyn.Learning.entity.EduChapter;
import com.yyn.Learning.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.session.SqlSession;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author yyn
 * @since 2022-11-22
 */
public interface EduVideoService extends IService<EduVideo> {
    //    增
    void saveVideo(EduVideo eduVideo);
    //    删
    void removeVideo(String id);
    //    改
    void updateVideo(EduVideo eduVideo);
    //    查
    void getAllVideo();
    //    根据id查
    EduVideo getOneVideo(String id);

    void removeByCourseId(String courseId);
//删小节删视频
    void removeTwo(String id);
}
